package tests.org.nicta.learn.factorization.GreedyResidualFittingFeatures;

import static org.junit.Assert.*;

import java.util.HashMap;

import org.junit.Before;
import org.junit.Test;
import org.nicta.learn.factorization.GreedyResidualFittingFeatures.*;

public class FeaturesGRFTests {

	FeaturesGRF grfMf ;
	@Before 
	public void initialize()throws Exception{
		String datasetType = "100K";
		String ratingsFileLocation = "data/MovieLens/100K/u.data.t";
		String usersFileLocation = "data/MovieLens/100K/u.user";
		String moviesFileLocation = "data/MovieLens/100K/u.item";
		Integer dimension = 5;
		grfMf = new FeaturesGRF(datasetType, ratingsFileLocation, 
				usersFileLocation, moviesFileLocation, dimension);
	}
	
	@Test
	public void testOGRFMF() throws Exception{
		grfMf.runGRF();
		
	}
}
